def print_num(n):
    if n < 0:
        return
    # print(n)
    print_num(n - 1)


print_num(5)

b = 1
a = 0


def fib(n):
    global a
    global b
    if n <= 0:
        return
    t = a + b
    a = b
    b = t
    print(t)
    fib(n - 1)


fib(7)


